/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.chain.declaracoes;

import br.com.Abstracts.AbstractTratadorLexicoToken;
import br.com.model.Token;

/**
 *
 * @author mariorsjr
 */
public class TratadorDeclaracoes extends AbstractTratadorLexicoToken{

    @Override
    public void isValido(Token token) {
        this.setProximoConjunto(new DeclaracaoConstante());
        this.setProximoConjunto(new DeclaracaoFuncao());
        this.setProximoConjunto(new DeclaracaoProcedimento());
        this.setProximoConjunto(new DeclaracaoVariavel());
 
        this.sucessor.tratador(token);
    }
    
}
